import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * Created by iss on 17/7/18.
 */
public class Test2 {

    public static void main(String[] args) {
        ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("classpath:rabbitmq_consumer1.xml");
        try {
            int i = System.in.read();
            System.out.println(i);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
